//
//  BaseViewController+HUB.h
//  Traffic
//
//  Created by CruItaly on 2017/10/28.
//  Copyright © 2017年 com.infohold.cn. All rights reserved.
//

#import <UIKit/UIKit.h>
@interface UIViewController (HUB)
typedef void(^ConfirmBlock)();
typedef void(^CancelBlock)();

- (void)setNavLeftImg:(NSString *)name;
- (void)setNavtitle:(NSString *)title;

- (void)tfAddLeftImg:(UITextField *)textField ImageName:(NSString *)imageName;

- (void)showHub:(NSString *)text;
- (void)hiddenHub;
- (void)showHubAuto:(NSString *)text;
- (void)showHubAuto:(NSString *)text image:(NSString *)imageName;
- (void) showTip:(NSString *)tips cancelText:(NSString *)cancelText confirmText:(NSString *) confirmText Confirm:(ConfirmBlock)confirmClick Cancel:(CancelBlock) cancelClick;
- (void)showToast:(NSString *)msg;
@end
